<view wx:if='{{!isShowShop}}'>
    <view id="choose_view">
        <navigator url="/pages/reserveShops/reserveShops" hover-class="none">
            <image class='icon_style' src="{{urlAddress}}/meal_icon_location1.png" />
            <label class="shopName">{{shopInfo.shopName||'请选择门店'}}</label>
            <image class='icon1_style' src="{{urlAddress}}/meal_icon_next1.png" />
            <view style='height: 14rpx;width: 100%;'></view>
        </navigator>
    </view>
    <div class="nocoup_style" wx:if="{{!shopList.length}}">
        <image src='{{urlAddress}}/empty_order.png'></image>
        <div>{{noteMsg}}</div>
    </div>
</view>
<view wx:if='{{isShowShop}}' id='reserve_page'>
    <view id="position">
        <navigator url="/pages/reserveShops/reserveShops" hover-class="none">
            <image class='icon_style' src="{{urlAddress}}/meal_icon_location1.png" />
            <label class="shopName">{{shopInfo.shopName}}</label>
            <image class='icon1_style' src="{{urlAddress}}/meal_icon_next1.png" />
        </navigator>
        <view class='shopMsg'>
            <scroll-view scroll-x='true' scroll-x="true" style=" white-space: nowrap; display: flex">
                {{shopInfo.tips}}
            </scroll-view>
        </view>
    </view>  
    <scroll-view scroll-x='true' scroll-x="true" style=" white-space: nowrap; display: flex" id='menu'>
        <label style="width: {{menuWidth}}" wx:for='{{shopInfo.categoryList}}' bindtap='getGoodsBytype' data-code='{{item.categoryCode}}' class="{{item.bg_style}}">{{item.categoryName}}
            <span style="margin-left: {{mentLeft}}"></span></label>
        <view class='gHeight'></view>
    </scroll-view>
    <scroll-view scroll-y style='height:{{scrollHeight}}' id='goods'>
        <view class='items_style' wx:for="{{goodsList.goodsList}}" wx:key="{{index}}">
            <image  id='id_{{item.goods.goodsGbk}}' class='goods_style' wx:if="{{item.goods.imgUrl==null}}" src="{{urlAddress}}/xiaomai.jpg" />
            <image id='id_{{item.goods.goodsGbk}}'  wx:if="{{item.goods.imgUrl!=null}}" class='market_style goods_style' src="{{item.goods.imgUrl}}" />
            <label class="goods_name">{{item.goods.goodsName}}</label>
            <label class="goods_money">¥{{item.goods.price}}<span wx:if="{{item.goods.price!=item.goods.originalPrice}}">¥{{item.goods.originalPrice}}<view wx:if="{{item.goods.price!=item.goods.originalPrice}}" class="line"></view></span></label>
            <label class="no_style" wx:if='{{item.status==2}}'>已售罄</label>
            <view class='add_sub_style' wx:if='{{item.status!=2||item.goods.num!=0}}'>
                <label class="note_style" wx:if='{{item.goods.num==0}}' data-img='{{item.goods.imgUrl}}' data-num="1" data-code='{{item.goods.goodsGbk}}' bindtap="addAction">购买</label>
                <label wx:if='{{item.goods.num!=0}}' data-num="-1" data-code='{{item.goods.goodsGbk}}' bindtap="addAction">
                    <image style='left: 4rpx;' class='sub_style' src="{{urlAddress}}/xianshou_btn_minus.png" />
                </label>
                <label wx:if='{{item.goods.num!=0}}' class="goods_num">
                    <p>{{item.goods.num}}</p>
                </label>
                <label wx:if='{{item.goods.num!=0}}' data-num="1" data-img='{{item.goods.imgUrl}}' data-code='{{item.goods.goodsGbk}}' bindtap="addAction">
                    <image style='right: 3rpx;' class='sub_style' src="{{urlAddress}}/xianshou_btn_add.png" />
                </label>
            </view>
        </view>
        <view class='gHeight'></view>
    </scroll-view>
    <view id='pay_view'>
        <!-- <image class='market_style' src="{{urlAddress}}/shopping_cart.png" /> -->
        <label id="endMarker"></label>
        <label wx:if='{{goodsList.num==0}}' class="no_msg">未购买商品</label>
        <label class="no_pay" wx:if='{{goodsList.num==0}}'>去结算</label>
        <!-- <navigator  url="/pages/reservePay/reservePay" hover-class="none"> -->
        <label class="pay_style" wx:if='{{goodsList.num!=0}}'>
            <p bindtap='turnPage'>去结算({{goodsList.num}})</p>
        </label>
        <!-- </navigator> -->
        <!-- <label wx:if='{{goodsList.num!=0}}' class="pay_num">{{goodsList.num||0}}</label> -->
        <label wx:if='{{goodsList.num!=0}}' class="pay_money"><span>¥{{goodsList.cartPrice||0}}</span><span>优惠¥{{goodsList.cartDiscountAmount||0}}</span></label>

    </view>
</view>

<!-- 购物车动画 -->

 <image wx:if='{{showAnImg}}' animation="{{animationData}}" class='animationImage'  style="top: {{topStyle}}px;left:{{leftStyle}}px;{{ani}}" src="{{img}}" />

